﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web.Master" AutoEventWireup="true" CodeBehind="view.aspx.cs" Inherits="web.Member.favorite.view" %>

<%@ Register Assembly="PRO.Controls" Namespace="PRO.Controls" TagPrefix="cc1" %>
<%@ Import Namespace="PRO.Common" %>
<%@ Import Namespace="PRO.Config" %>
<%@ Register TagPrefix="url" Namespace="ActionlessForm" Assembly="ActionlessForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder_Content" runat="server">
    <url:Form runat="server">
        <table style="float:left; width:100%;">
            <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_ItemCommand">
                <ItemTemplate>
                    <tr>
                        <td><%#(Eval("title").ToString().IsNullOrWhiteSpace())?"产品已经被删除":"<a target=\"_blank\" href=\"/product/item/"+Eval("pid").DEC_Encode(BaseConfigs.DEC_KEY) +"\">"+Eval("title") %></a></td>
                        <td>
                            <asp:LinkButton ID="LinkButton1" CommandArgument='<%#Eval("id") %>' CommandName="del" OnClientClick="return confirm('确定删除吗？');" runat="server">删除</asp:LinkButton>
                        </td>

                    </tr>
                </ItemTemplate>
            </asp:Repeater>

        </table>
        <cc1:Pager ID="Pager1" runat="server" OnPageIndexChanging="Pager1_PageIndexChanging" />
    </url:Form>
</asp:Content>
